package com.techstar.ats.status;

import java.util.Set;

public enum FasStatus implements StatusEnumerated {
	ON("火警", "报警", "没有报警");

	private final String literal;
	private final String trueLiteral;
	private final String falseLiteral;

	FasStatus(String literal, String trueLiteral, String falseLiteral) {
		this.literal = literal;
		this.trueLiteral = trueLiteral;
		this.falseLiteral = falseLiteral;
	}

	@Override
	public String literal() {
		return this.literal;
	}

	@Override
	public String trueLiteral() {
		return this.trueLiteral;
	}

	@Override
	public String falseLiteral() {
		return this.falseLiteral;
	}

	public static Set<FasStatus> valueOf(int mask) {
		return StatusEnumerated.valueOf(FasStatus.class, mask);
	}
}
